home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
tex-k-archive.gz
/
tex-k-archive
/
000202_kb@cs.umb.edu_Mon Jan 31 07:37:08 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-11
|
1KB
Received: from ra.cs.umb.edu by cs.umb.edu with SMTP id AA15404
(5.65c/IDA-1.4.4 for <tex-k-exp@cs.umb.edu>); Mon, 31 Jan 1994 12:37:09 -0500
Received: by ra.cs.umb.edu id AA01721
(5.65c/IDA-1.4.4); Mon, 31 Jan 1994 12:37:08 -0500
Date: Mon, 31 Jan 1994 12:37:08 -0500
From: "K. Berry" <kb@cs.umb.edu>
Message-Id: <199401311737.AA01721@ra.cs.umb.edu>
To: karl@cs.umb.edu, tex-k@cs.umb.edu
Subject: patch for kpathsea core dumps
Well, this was certainly an embarrassing error.
I hope this fixes the core dumps, with or without GNU malloc.
It will be a few days (at least) before I make an updated release.
*** /tmp/fn.c Mon Jan 31 12:01:05 1994
--- fn.c Mon Jan 31 12:06:15 1994
***************
*** 42,48 ****
{
fn_type ret;
! FN_ALLOCATED (ret) = CHUNK_SIZE;
FN_STRING (ret) = xmalloc (FN_ALLOCATED (ret));
strncpy (FN_STRING (ret), s, len);
--- 43,49 ----
{
fn_type ret;
! FN_ALLOCATED (ret) = CHUNK_SIZE > len ? CHUNK_SIZE : len;
FN_STRING (ret) = xmalloc (FN_ALLOCATED (ret));
strncpy (FN_STRING (ret), s, len);